export class Activity {
  id = 0;
  ActivityName = '';
  PointsNeed = 0;
  InvovleTimes = 0; // 每个用户默认参与次数
  PrizeNum = 0; // 奖品数量
  RemainNum = 0; // 剩余数量
  Isfinite = 1;
  Isdeleted = 0;
  RuleUrl = '';
  StartTime = '';
  EndTime = '';
  toArray() {
    return Object.keys(this).map(key => this[key]);
  }
}
